package com.xpec.c4.db.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.basic.BasicGameModel;

@Entity
@Table(name="black_list_players")
public class BlackListDetailModel extends BasicGameModel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2363929110880966933L;

	/**
	 * 账户id
	 */
	private String accountid;
	
	/**
	 * 營運商accountID
	 */
	private String cooperatorAccountId;

	/**
	 *该账户所包含的所有角色
	 */
	private String players;
	
	/**
	 * 黑名单开始时间
	 */
	private long beginDate;
	
	/**
	 *黑名单结束时间
	 */
	private long endDate;
	
	/**
	 * 操作黑名单的GM的ID
	 */
	private String gmID;
	
	/**
	 * 加入黑名单的原因
	 */
	private String reason;
	
	

	public BlackListDetailModel(){
		
	}

	public String getAccountid() {
		return accountid;
	}

	public void setAccountid(String accountid) {
		this.accountid = accountid;
	}

	public long getEndDate() {
		return endDate;
	}

	public void setEndDate(long endDate) {
		this.endDate = endDate;
	}

	public String getGmID() {
		return gmID;
	}

	public void setGmID(String gmID) {
		this.gmID = gmID;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Column(length=500)
	public String getReason() {
		return reason;
	}

	public long getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(long beginDate) {
		this.beginDate = beginDate;
	}

	public String getPlayers() {
		return players;
	}

	public void setPlayers(String players) {
		this.players = players;
	}

	public String getCooperatorAccountId() {
		return cooperatorAccountId;
	}

	public void setCooperatorAccountId(String cooperatorAccountId) {
		this.cooperatorAccountId = cooperatorAccountId;
	}
	
}
